import { Injectable } from '@nestjs/common'
import { Item } from './entities/item.entity'
import { InjectRepository } from '@nestjs/typeorm'
import { Repository } from 'typeorm'
import { BaseCrudService } from 'src/common/base-crud.service'

@Injectable()
export class ItemsService extends BaseCrudService<Item> {
  constructor(
    @InjectRepository(Item)
    public repo: Repository<Item>
  ) {
    super(repo)
  }
}
